﻿namespace wToggle.Platform.Data
{
    using System.Runtime.Serialization;

    using wToggle.Platform.Interfaces;

    [DataContract]
    public sealed class Tag : IEntity
    {
        [DataMember(Name = "id")]
        public ulong Id { get; set; }

        [DataMember(Name = "wid")]
        public ulong WorkspaceId { get; set; }

        [DataMember(Name = "name")]
        public string Name { get; set; }

        public override string ToString()
        {
            return this.Name;
        }
    }
}